package _91WaiGuan;

import _91WaiGuan.impl.Circle;
import _91WaiGuan.impl.Rectangle;
import _91WaiGuan.impl.Square;

/**
 * @ShapeMark: 外观类
 * @author: ZBoHang
 * @time: 2021/9/9 14:11
 */
public class ShapeMark {

    private Shape circle;
    private Shape rectangle;
    private Shape square;

    public ShapeMark() {
        this.circle = new Circle();
        this.rectangle = new Rectangle();
        this.square = new Square();
    }

    public void drawCircle() {
        circle.draw();
    }

    public void drawRectangle() {
        rectangle.draw();
    }

    public void drawSquare() {
        square.draw();
    }
}
